//
//  WYPusherInfpController.m
//  CirclePush
//
//  Created by admin on 2018/5/24.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "WYPusherInfpController.h"

@interface WYPusherInfpController ()
@property (strong, nonatomic) IBOutlet UILabel *userNmae;
@property (strong, nonatomic) IBOutlet UILabel *userMobile;
@property (strong, nonatomic) IBOutlet UIImageView *IDPos;
@property (strong, nonatomic) IBOutlet UIImageView *IDBack;
@property (strong, nonatomic) IBOutlet UIImageView *cardPos;
@property (strong, nonatomic) IBOutlet UIImageView *cardBack;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *top;

@end

@implementation WYPusherInfpController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupUI];
    // Do any additional setup after loading the view from its nib.
}
-(void)setupUI
{
    if (kDevice_Is_iPhoneX) {
        self.top.constant = 98;
    }
    [self initTopBarWithTitle:@"推客资料"];
    [self addLeftButton:[UIImage imageNamed:@"return"] width:0 height:0];
    self.userNmae.text = self.clew.name;
    self.userMobile.text = self.clew.telephone;
    [self.IDPos sd_setImageWithURL:[NSURL URLWithString:self.clew.cardFront]];
    
    [self.IDBack sd_setImageWithURL:[NSURL URLWithString:self.clew.cartVerso]];
    
    [self.cardPos sd_setImageWithURL:[NSURL URLWithString:self.clew.bankRight]];
    
    [self.cardBack sd_setImageWithURL:[NSURL URLWithString:self.clew.bankBack]];
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
